package com.pearl.generator.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @author TangDan
 * @version 1.0
 * @since 2022/12/14
 */
@Data
@ApiModel(value = "DataSourceNameVO", description = "数据源名称展示层对象")
public class DataSourceNameVO {

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;
}
